﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BusinessEntities
{
    public  class UserEntity
    {
        public int UserID { get; set; }
        public int TypeCode { get; set; }
        public string LoginName { get; set; }
        public string State { get; set; }
        public bool IsDelete { get; set; }
        public Nullable<int> GroupRole { get; set; }
        public Nullable<int> LevelAdmin { get; set; }
        public Nullable<int> EmployeeID { get; set; }
        public string Email { get; set; }
        public string ActiveString { get; set; }
        public System.DateTime ActionDate { get; set; }
        public string Ext { get; set; }
        public string Password { get; set; }
        public string FullName { get; set; }
        public Nullable<int> BranchId { get; set; }
        public System.Guid AuthToken { get; set; }

        //public virtual ICollection<TokenEntity> Tokens { get; set; }
    }
    public class UserEntityLogin
    {

        public int UserID { get; set; }
        public Nullable<int> TypeCode { get; set; }
        public string LoginName { get; set; }
        public string State { get; set; }
     //   public Nullable<bool> IsDelete { get; set; }
        public Nullable<int> GroupRole { get; set; }
        public Nullable<int> LevelAdmin { get; set; }
        public Nullable<int> EmployeeID { get; set; }
      //  public string Email { get; set; }
      //  public string ActiveString { get; set; }
       // public Nullable<System.DateTime> ActionDate { get; set; }
     //   public string Ext { get; set; }
     //   public string Password { get; set; }
        public string FullName { get; set; }
        public Nullable<int> BranchId { get; set; }
        public Guid Token { get; set; }

        //public virtual ICollection<TokenEntity> Tokens { get; set; }
    }
}
